package com.tianhui.consignortwofei.base;

import com.fgs.common.CommonActivity;
import com.fgs.common.CommonPresenter;
import com.fgs.common.CommonView;

/**
 * @author fgs
 * @date 2020/8/24
 * @description
 **/
public abstract class BaseActivity<V extends CommonView, P extends CommonPresenter<V>> extends CommonActivity<V, P> {
//    @Override
//    protected void onCreate(Bundle savedInstanceState) {
//        super.onCreate(savedInstanceState);
//        if (!MyApplication.launched) {
//            ActivityManager.getInstance().finishAllActivity();
//            openActivity(SplashActivity.class);
//        }
//    }
//
//    @Override
//    public void onEvent(CommonEvent event) {
//        switch (EventWhat.valueOf(event.getWhat())) {
//            case EVENT_LOGIN_STATUS:
//                    ActivityManager.getInstance().finishAllActivity();
//                    openActivity(LoginActivity.class);
//                    LogUtil.print("token过期2");
//                break;
//        }
//    }
}
